<%--
  Created by IntelliJ IDEA.
  User: liuchangling
  Date: 2021/6/6
  Time: 11:06 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>编辑班级信息</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<style>
    h1 {
        text-align: center;
    }
</style>
<body style="padding:100px;">
<h1>编辑班级信息</h1>
<form action="updateClass" method="post">
    <c:forEach var="classes" items="${classResult}">
        <div class="form-group"><label>班级</label>
            <input type="text" class="form-control" placeholder="班级" name="classNo" value="${classes.classNo}">
        </div>
        <div class="form-group"><label>班级名称</label>
            <input type="text" class="form-control" placeholder="班级名称" name="className" value="${classes.className}">
        </div>
        <div class="form-group"><label>年级</label>
            <input type="text" class="form-control" placeholder="年级" name="gradeNo" value="${classes.gradeNo}">
        </div>
        <div class="form-group"><label>班主任名称</label>
            <input type="text" class="form-control" placeholder="班主任名称" name="teacherName"
                   value="${classes.teacherName}">
        </div>
        <div class="form-group"><label>班级口号</label>
            <input type="text" class="form-control" placeholder="班级口号" name="classSlogan"
                   value="${classes.classSlogan}">
        </div>
        <div class="form-group"><label>班级人数</label>
            <input type="text" class="form-control" placeholder="班级人数" name="classNum" value="${classes.classNum}">
        </div>
    </c:forEach>
    <div class="form-group">
        <button class="btn btn-primary" type="submit">提交</button>
    </div>
</form>
</body>
<script>

</script>
</html>
